package com.ciis.base;

/**
 * Created with IntelliJ IDEA.
 * User: zhangdajun
 * Date: 14-4-12
 * Time: 上午12:19
 * To change this template use File | Settings | File Templates.
 */
public interface Constants {

    public final static String USER_INFO = "USER_INFO";

    public final static String PAGE_KEY = "page";

    public final static String PARAM = "param";

    public final static String SESSION_USER = "SESSION_USER";

    public final static String SESSION_ROLE = "SESSION_ROLE";

    public final static String SESSION_ROLE_RIGHTS = "SESSION_ROLE_RIGHTS";

    public final static String SESSION_USER_RIGHTS = "SESSION_USER_RIGHTS";

    public final static String SESSION_SECURITY_CODE = "SESSION_SECURITY_CODE";

    public final static String SESSION_LOGIN_FAIL_CNT = "SESSION_LOGIN_FAIL_CNT";

    public static final String NO_INTERCEPTOR_PATH = ".*/((login)|(logout)|(code)).*";

    public static final String SESSION_VALIDATECODE = "SESSION_VALIDATECODE";//验证码

    public static final String SESSION_ACCESS_URLS = "SESSION_ACCESS_URLS"; //系统能够访问的URL

    public static final String SESSION_MENUBTN_MAP = "SESSION_MENUBTN_MAP"; //系统菜单按钮

    public final static String RESPONSE_SUCCESS ="SUCCESS";

    public final static String RESPONSE_FAILED = "FAILED";

    public final static String RESPONSE_MSG ="MSG";

    public final static String RESPONSE_DATA ="DATA";

    public final static String RESPONSE_LOGOUT_FLAG = "LOGOUTFLAG";

    public static final int SUPERADMIN_YES = 1;// 超级管理员

}
